package com.pro.entity;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.Objects;
@Data
public class UserOrder {
    private Integer orderId;//订单id
    private Integer userId;//后台用户id
    private Integer addressId;//后台地址主键
    private Integer userNumber;
    private Integer orderNo;
    private Integer shopId;
    private Integer orderStatus;
    private Integer productCount;
    private Double priceTotal;
    private Double logisticsFee;
    private Double freightAmount;
    private Integer orderLogisticsNumber;
    private Integer orderType;
    private Integer orderPaymentChannel;
    private Integer paymentOrderNo;
    private String receivingAddress;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date paymentTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date deliveryTime;
    private Integer orderSource;
    private Integer comment;
    private String remarks;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createDate;
    private String updateId;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateDate;

}